package thread.learn;

import java.util.concurrent.TimeUnit;

/**
 * @author jiangwz
 * @create 2019/9/5.
 */
public class TestRunnale implements Runnable {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + " : start");
        try {
            TimeUnit.SECONDS.sleep(10);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(Thread.currentThread().getName() + " : stop");

    }
}
